import { Button, Result } from 'antd';
import { useNavigate } from 'react-router-dom'
const NoAuth = () => {
    const navigate = useNavigate();
    return (
        <Result
            status="403"
            title="403"
            subTitle="对不起，你没有权限查看此页面！"
            extra={<Button onClick={() => { navigate("/datamonitor/login", { replace: true }); }} type="primary">返回</Button>}
        />

    )
};
export default NoAuth;